Added -lpthread to qemu-dm link line, in order to compile even without SDL
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Sun, 30 Oct 2005 15:35:06 +0000 (16:35 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Sun, 30 Oct 2005 15:35:06 +0000 (16:35 +0100)
installed.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/ioemu/target-i386-dm/Makefile

index 465d0c1a02f0b97e04a3b461dfb62e7789938db9..b97103486b2316e568e22037f8cfc5c48a54fbee 100644 (file)
@@ -311,7 +311,7 @@ endif
 endif
 
 $(QEMU_SYSTEM): $(VL_OBJS) libqemu.a
-       $(CC) $(VL_LDFLAGS) -o $@ $^ $(LIBS) $(SDL_LIBS) $(VNC_LIBS) $(VL_LIBS)
+       $(CC) $(VL_LDFLAGS) -o $@ $^ $(LIBS) $(SDL_LIBS) $(VNC_LIBS) $(VL_LIBS) -lpthread
 
 vnc.o: vnc.c keyboard_rdesktop.c
        $(CC) $(CFLAGS) $(DEFINES) $(VNC_CFLAGS) -c -o $@ $<